package sensors.realSensors;

import robots.RealGhost;
import sensors.UltrasonicSensor;

public class RealUltrasonicSensor extends RealSensor implements UltrasonicSensor{
		
	public RealUltrasonicSensor(RealGhost ghost){
		super(ghost, ghost.getCommunicator());
	}

	
	public int getDistance() {
		return getCommunicator().getDistance();
	}
}
